home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Pedestal / Source / Includes / PedChoreGeneric.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  395 b   |  24 lines

  1. /*    ==================
  2.  *    PedChoreGeneric.hh
  3.  *    ==================
  4.  */
  5.  
  6. #ifndef PEDCHOREGENERIC_HH
  7. #define PEDCHOREGENERIC_HH
  8.  
  9. #include "PedChore.hh"
  10.  
  11. typedef void (*GenericChoreFunc)(void *param);
  12.  
  13. class PedChoreGeneric : public PedChore {
  14. public:
  15.     PedChoreGeneric(GenericChoreFunc inFunc, void *inParam);
  16.     virtual void Perform();
  17.     
  18. protected:
  19.     GenericChoreFunc mFunc;
  20.     void *mParam;
  21. };
  22.  
  23. #endif
  24.